import request from '@/utils/request'

// 查询教师获奖情况列表
export function listAwards1(query) {
  return request({
    url: '/awards1/awards1/list',
    method: 'get',
    params: query
  })
}

// 查询教师获奖情况详细
export function getAwards1(teaId) {
  return request({
    url: '/awards1/awards1/' + teaId,
    method: 'get'
  })
}

// 新增教师获奖情况
export function addAwards1(data) {
  return request({
    url: '/awards1/awards1',
    method: 'post',
    data: data
  })
}

// 修改教师获奖情况
export function updateAwards1(data) {
  return request({
    url: '/awards1/awards1',
    method: 'put',
    data: data
  })
}

// 删除教师获奖情况
export function delAwards1(teaId) {
  return request({
    url: '/awards1/awards1/' + teaId,
    method: 'delete'
  })
}
